package com.kunlun.basedata.organize.service;

import com.kunlun.basedata.organize.model.DepartmentModel;
import com.kunlun.common.model.Page;

import java.util.List;
import java.util.Map;

/**
 * 部门业务接口
 */
public interface IDepartmentService {

    public List<DepartmentModel> getDepartmentList(DepartmentModel departmentModel) throws Exception;

    public Page<DepartmentModel> getDepartmentPage(DepartmentModel departmentModel, int currentPage, int pageSize) throws Exception;

    public void addDepartment(DepartmentModel departmentModel) throws Exception;

    public void updateDepartment(DepartmentModel departmentModel) throws Exception;

    public void deleteDepartment(List<String> list) throws Exception;

    public List<DepartmentModel> getDepartmentList(Map<String, Object> queryMap) throws Exception;
}
